package ru.padre386.geo_utils.data_loaders.gpx.domain;

import ru.padre386.geo_utils.data_loaders.common.IGeoPoint;

import java.util.Date;

/**
 * trkpt
 * Created by IntelliJ IDEA.
 * User: indrdb
 * Date: 04.02.2011
 * Time: 14:20:22
 */
public class GpxPoint implements IGeoPoint {
    double lat;
    double lon;
    Double ele;
    Date time;

    public void setLat(double lat) {
        this.lat = lat;
    }

    public void setLon(double lon) {
        this.lon = lon;
    }

    public void setEle(Double ele) {
        this.ele = ele;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public Date getTime() {
        return time;
    }

    @Override
    public double getLongitude() {
        return lon;
    }

    @Override
    public double getLatitude() {
        return lat;
    }

    @Override
    public Double getAltitude() {
        return ele;
    }
}
